when excel is loaded into python, numeric datatype changes to float

41

# Convert the record_id field from an integer to a float
surveys_df['record_id'] = surveys_df['record_id'].astype('float64')
surveys_df['record_id'].dtype

Comments

Submit
0 Comments